package imnu.extend.oop3;

/**
 * @author: lys
 * @类名: AK47
 * @Title:
 * @date: 2020/7/15
 **/
public class AK47 extends Gun {

    public void shot(){
        System.out.println("射击...");
    }
    //对同名方法kill进行重写
    @Override
    public void kill() {
        //调用父类方法
        super.kill();
        System.out.println("射击kill.....");
    }

}
